package cn.kgc.mp.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

/**
 * @author 课工场
 * @date 2024/5/29
 * @description
 */
@Data
public class Emp {

    private Integer id;
    private String ename;
    private Integer age;
    private Integer  deptno;
    //  声明属性对应的数据库字段为逻辑删除字段
    @TableLogic
    private Integer isDelete;

    @Version
    private Integer version;

}
